package com.cmwa.solution.sys.permission.operRole.entity;

import org.apache.ibatis.type.Alias;

import com.cmwa.solution.base.entity.BaseVo;
import com.cmwa.solution.utils.Constant;

@Alias("operRoleVo")
public class OperRoleVo extends BaseVo {
	/**
	 * 角色ID
	 */
	private String roleId;
	/**
	 * 角色名称
	 */
	private String roleName;
	/**
	 * 备注
	 */
	private String remark;
	
	public String getRoleId() {
		return roleId;
	}
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	public String getStatusName(){
		if (Constant.C_STATUS_C.equals(status)) {
			return "已复核";
		}else if (Constant.C_STATUS_D.equals(status)) {
			return "已删除";
		}else {
			return "";
		}
	}
}
